<?php

namespace frontend\controllers;

use common\models\Product;
use Yii;
use yii\helpers\Url;
use yii\web\Controller;

class TestController extends Controller
{
    public function actionIndex()
    {
        var_dump(Url::to(['restful/products/index']));
    }
}
